package com.zuoqi.easywork.userManage.service;

import com.zuoqi.easywork.userManage.mapper.TcDepartMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DepartService {
    @Autowired
    private TcDepartMapper tcDepartMapper;

    public List<Map> selectAllDepart(){
        return tcDepartMapper.selectAllDepart();
    }
    public Map searchDepartById(String departId){
        return tcDepartMapper.searchDepartById(departId);
    }
}
